<?php 
session_start();
	if(isset($_SESSION['username'])){
		$tempArr = array('isLogin' =>true,'username' => $_SESSION["username"]);
// $tempArr = array('isLogin' =>true,'username' =>'aa');
		$jsonResult=json_encode($tempArr);
		echo $jsonResult;
	}
?>  
